package com.five.wisdomEat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.five.wisdomEat.entity.OrderState;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderStateMapper extends BaseMapper<OrderState> {
    //查询所有订单状态
    @Select("SELECT * FROM order_state")
    List<OrderState> selectOrderStateList();
}
